package com.baizhi.service;

import com.baizhi.entity.Banner;

import java.util.Map;

public interface BannerService {
    public Map selectAll(int page,int limit,String bannerOldName);

    public Map update(Banner banner);

    public Map updatea(Banner banner);

    public Map insert(Banner banner);

    //删除一条数据
    public Map delete(int id);

    public Banner selectOne(int id);

    //更改上师状态
    public Map updates(Banner banner);




    //批量下载
    public Map selectAlls();
}
